package TangramCore;

import java.util.Comparator;

class ReverseComparator<T> implements Comparator<T> {
    Comparator<T> orig;
    public ReverseComparator(Comparator<T> orig){
        this.orig = orig;
    }
    public int compare(T o1, T o2){
        return orig.compare(o2, o1);
    }
}
